<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.Date"%>
<%@ page import="java.text.SimpleDateFormat"%>
<%@ page errorPage="error/loginErrorPage.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>一个简单的JSP页面---显示系统时间</title>
</head>
<body>
	<%@ include file="top.jsp"%>

	<%
		Date date = new Date();
		SimpleDateFormat df = new SimpleDateFormat("yyy-MM-dd HH:mm:ss");
		String today = df.format(date);
	%>

	<center>
		当前时间：<%=today%></center>
	<ol>
		<li><a href="9x9.jsp">九九乘法表</a><br /></li>

		<li><a href="jsp_include.jsp">[jsp:include]标签的使用</a><br></li>
		<li><a href="jsp_forward.jsp">[jsp:forward]标签的使用</a><br></li>
		<li><a href="cookie.jsp">[cookie]的使用</a><br></li>
		<li><a href="encoding.jsp?name=张三&sex=男">[乱码解决方法]的使用</a><br></li>
		<li><a href="response_sendRedirect.jsp">[response.senRedirect]重定向的使用</a><br></li>
	</ol>

	<%@ include file="copyright.jsp"%>
</body>
</html>